package com.njwb.mapper;

import com.njwb.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DeptMapper {
    @Select("select deptno,dname,loc from dept where deptno = #{deptNo}")
    Dept getByNo(int deptNo);
}
